package com.hong.chapter6;

import com.hong.chapter3.MyClassLoader;

/**
 * @Auther: Administrator
 * @Date: 2018/7/18 10:34
 * @Description:
 */
public class ThreadContextClassLoader {
    public static void main(String[] args) {
        ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader();
        System.out.println(contextClassLoader);
        Thread.currentThread().setContextClassLoader(new MyClassLoader());
        System.out.println(Thread.currentThread().getContextClassLoader());
    }
}
